<!DOCTYPE html>
<head>
    <script src="https://cdn.jsdelivr.net/npm/vue@2.6.12"></script>
</head>
<body>
    <style>
        .outside{
            width:300px;
            height:300px;
            color: white;
           font-size: 30px;
           background: red;
           
        }
        .center{
            width: 200px;
            height: 200px;
            background: #17a2b8;
        }
        .inside{
            width:100px;
            height:100px;
           background: #a9b4ba;
        }
    </style>
    
    <div id="app"> 
       <div class="outside" @click.capture="outside">
           <div class="center" @click.capture="center">
               <div class="inside" @click="inside">内部</div>
               中间
           </div>
           外层
       </div>
    </div>
    <script>    
    new Vue({
       el:'#app',
       methods:{
           outside:function(){
               alert("外面的div")
           },
           center:function(){
               alert("中间的div")
           },
           inside:function(){
               alert("内部的div")
           }
       }
    })
</script>
</body>

</html>
